package com.njxxted.activiti.modules.process.defintion.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 描述：流程节点配置 实体类
 * <p>
 * 作者：Ostrich Hu
 * 时间：2019/9/4 17:02 星期三
 */
@Data
public class ActNodeConfigEntity implements Serializable {
    private static final long serialVersionUID = -7681563615111113007L;

    //流程key
    private String key;

    //流程模型id
    private String modelId;

    //流程节点id
    private String nodeId;

    //流程节点配置类型
    private String configType;

    //流程节点配置值
    private String configValue;

    //流程节点其他值
    private String otherValue;

    //添加时间
    @DateTimeFormat(pattern = "YYYY-MM-DD HH:mm:ss")
    @JsonFormat(pattern = "YYYY-MM-DD HH:mm:ss ", timezone = "GMT+8")
    private Date addDate;
}
